package com.wy.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wy.model.entity.Teacher;
import com.wy.model.vo.TeacherQueryVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TeacherMapper extends BaseMapper<Teacher> {
  //条件分页查询
  IPage<Teacher> selectPage(Page<Teacher> pageParam, @Param("vo") TeacherQueryVo teacherQueryVo);
}
